package com.kanshu.mvp_pro.mvp;

public abstract class DataBindFragment<D extends IFragmentDelegate> extends FragmentPresenter<D> {

    private IDataBinder mDataBinder;

    public abstract IDataBinder getDataBinder();

    public <M extends IModel> void notifyModelChanged(M model) {
        mDataBinder.viewBindModel(getViewDelegate(), model);
    }

}
